package com.seven.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Yinwenjie
 */
@RestController
@RequestMapping("http")
public class HttpController {

    @GetMapping("/hello")
    public String hello(String name) {
        return "hi! " + name;
    }
}
